/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package skat.event;

import java.util.EventObject;
import skat.Card;
import skat.player.Player;

/**
 *
 * @author weinpau
 */
public class DeskEvent extends EventObject {

    private Player player;
    private Card card;

    public DeskEvent(Object source, Player player, Card card) {
        super(source);
        this.player = player;
        this.card = card;
    }

    public Card getCard() {
        return card;
    }

    public Player getPlayer() {
        return player;
    }
}
